package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 小区对象 hs_village
 * 
 * @author asher
 * @date 2021-11-08
 */
public class HsVillage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 小区id */
    private Long villageId;

    /** 所在地区id */
    @Excel(name = "所在地区id")
    private Long regionId;

    /** 小区编码*/
    @Excel(name = "小区编码 ")
    private String code;

    /** 地区名称 */
    @Excel(name = "地区名称")
    private String name;

    /** 楼栋数 */
    @Excel(name = "楼栋数")
    private Long buildingAmount;

    public void setVillageId(Long villageId) 
    {
        this.villageId = villageId;
    }

    public Long getVillageId() 
    {
        return villageId;
    }
    public void setRegionId(Long regionId) 
    {
        this.regionId = regionId;
    }

    public Long getRegionId() 
    {
        return regionId;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setBuildingAmount(Long buildingAmount) 
    {
        this.buildingAmount = buildingAmount;
    }

    public Long getBuildingAmount() 
    {
        return buildingAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("villageId", getVillageId())
            .append("regionId", getRegionId())
            .append("code", getCode())
            .append("name", getName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("buildingAmount", getBuildingAmount())
            .toString();
    }
}
